#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;
#include<string>
#include<list>

int main()
{
	//string s1;
	//s1.push_back('a');
	//string s2("hello world");

	//list<string> lit;
	//lit.push_back(s2);

	auto add = [](int a, int b)->int {return a + b; };
	cout << add(1,2) << endl;

	auto swap1 = [](int& a, int& b)->void {
		int tmp = a;
		a = b;
		b = tmp;
	};
	int x = 1;
	int y = 2;
	swap1(x,y);

	return 0;
}